package com.engine4cloud.tdf.admin;

import com.engine4cloud.tdf.common.core.config.UniqueNameGenerator;
import com.engine4cloud.tdf.common.security.annotation.EnableTdfResourceServer;
import com.engine4cloud.tdf.common.swagger.annotation.EnableOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author tdf
 * @date 2018年06月21日
 * <p>
 * 用户统一管理系统
 */
@EnableOpenApi("admin")
@EnableTdfResourceServer
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}
